package com.tiny.mirror.service.product.common.constants;


import com.tiny.mirror.basic.common.code.BizStatusCode;

/**
 * 渲染服务状态码定义
 *
 * @author: liujsh
 * @since: 1.0.0
 */
public class ProductStatusCode {

  public static final int APP_ID = 1003;
  public static final BizStatusCode CREATE_APP_ERROR_EXIST_TYPE = init(
      1, "创建应用失败，已存在该类型应用"
  );

  public static BizStatusCode init(int code, String message) {
    return BizStatusCode.newInstance(APP_ID, code, message);
  }
}
